Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 83.8 kB / 22 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 161.4 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 55.92 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1951, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003788/0.1989, allocations: 2.519 MB / 351 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.2002, allocations: 0.7251 MB / 351.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.2003, allocations: 8 kB / 351.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.2005, allocations: 63.42 kB / 351.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.2006, allocations: 91.06 kB / 351.9 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.201, allocations: 127.8 kB / 352 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004913/0.2015, allocations: 438.9 kB / 352.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.2018, allocations: 160.9 kB / 352.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.202, allocations: 187.4 kB / 352.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.2022, allocations: 171.1 kB / 353 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.2023, allocations: 44 kB / 353 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.42e-05/0.2024, allocations: 48 kB / 353.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.829e-05/0.2025, allocations: 95.75 kB / 353.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.2027, allocations: 179.2 kB / 353.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005329/0.2032, allocations: 0.5044 MB / 353.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2032, allocations: 0 / 353.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2032, allocations: 0 / 353.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.2032, allocations: 0 / 353.8 MB, free: 10.17 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001091/0.2043, allocations: 0.6185 MB / 354.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2043, allocations: 15.92 kB / 354.5 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.964e-05/0.2044, allocations: 44.7 kB / 354.5 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.2047, allocations: 222.5 kB / 354.7 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.2048, allocations: 33.38 kB / 354.8 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/0.2048, allocations: 40.38 kB / 354.8 MB, free: 9.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008643/0.2057, allocations: 0.6206 MB / 355.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.2057, allocations: 0 / 355.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.2058, allocations: 16 kB / 355.4 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.2058, allocations: 8 kB / 355.4 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000568/0.2063, allocations: 291.9 kB / 355.7 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.2083, allocations: 1.078 MB / 356.8 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.2087, allocations: 218.6 kB / 357 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/0.2091, allocations: 180.7 kB / 357.2 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.2092, allocations: 4 kB / 357.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2092, allocations: 42.56 kB / 357.2 MB, free: 6.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.532e-06/0.2092, allocations: 0 / 357.2 MB, free: 6.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001404/0.2106, allocations: 466.4 kB / 357.7 MB, free: 6.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/0.2108, allocations: 243.3 kB / 357.9 MB, free: 5.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.211, allocations: 175.5 kB / 358.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.2111, allocations: 33.7 kB / 358.1 MB, free: 5.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.2113, allocations: 208.5 kB / 358.3 MB, free: 5.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.2114, allocations: 103.1 kB / 358.4 MB, free: 5.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.2115, allocations: 69.64 kB / 358.5 MB, free: 5.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.2117, allocations: 326.8 kB / 358.8 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.212, allocations: 79.81 kB / 358.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.2125, allocations: 337.1 kB / 359.2 MB, free: 4.363 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.2138, allocations: 378 kB / 359.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2138, allocations: 0 / 359.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007775/0.2146, allocations: 273 kB / 359.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2146, allocations: 16 kB / 359.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2146, allocations: 3.984 kB / 359.9 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.2146, allocations: 4 kB / 359.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/0.2152, allocations: 71.91 kB / 360 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.2152, allocations: 7.984 kB / 360 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.2154, allocations: 23.89 kB / 360 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.2155, allocations: 8 kB / 360 MB, free: 3.582 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real C1.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003339/0.2158, allocations: 165.7 kB / 360.2 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.2159, allocations: 27.78 kB / 360.2 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-05/0.216, allocations: 22.66 kB / 360.2 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.216, allocations: 4 kB / 360.2 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.216, allocations: 4 kB / 360.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.216, allocations: 7.969 kB / 360.2 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.2176, allocations: 0.6498 MB / 360.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2176, allocations: 4 kB / 360.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.2179, allocations: 51.97 kB / 360.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00041/0.2184, allocations: 92.77 kB / 361 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.2184, allocations: 8 kB / 361 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002912/0.2213, allocations: 1.827 MB / 362.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2213, allocations: 0 / 362.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.2225, allocations: 0.5022 MB / 363.4 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.2226, allocations: 19.8 kB / 363.4 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.2226, allocations: 8.062 kB / 363.4 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.2229, allocations: 15.98 kB / 363.4 MB, free: 0 / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.223, allocations: 23.95 kB / 363.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.223, allocations: 7.938 kB / 363.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.2232, allocations: 135.5 kB / 363.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2232, allocations: 4.062 kB / 363.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004217/0.2236, allocations: 111.7 kB / 363.7 MB, free: 15.72 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001203/0.2237, allocations: 95.25 kB / 363.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005845/0.2243, allocations: 199.8 kB / 364 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.2243, allocations: 4 kB / 364 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006529/0.225, allocations: 270.7 kB / 364.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.2254, allocations: 28.31 kB / 364.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.2273, allocations: 0.8421 MB / 365.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.2276, allocations: 176.8 kB / 365.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.2277, allocations: 25.89 kB / 365.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.711e-05/0.2278, allocations: 28.48 kB / 365.3 MB, free: 14 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2278, allocations: 0 / 365.3 MB, free: 14 MB / 334.1 MB Notification: Performance of Templates: time 0.01023/0.238, allocations: 2.865 MB / 368.2 MB, free: 11.12 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.269623668980785]