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.001282/0.001282, allocations: 115.6 kB / 18.45 MB, free: 4.566 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.001373/0.001373, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.412/1.412, allocations: 207.6 MB / 231.8 MB, free: 4.191 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [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.001673/0.001673, allocations: 59.91 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.08581, allocations: 49.13 MB / 391.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003886/0.0897, allocations: 2.777 MB / 394.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.09102, allocations: 0.764 MB / 395 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.09114, allocations: 8 kB / 395 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.09127, allocations: 55.42 kB / 395 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.09145, allocations: 95.06 kB / 395.1 MB, free: 5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.09181, allocations: 123.8 kB / 395.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000474/0.09228, allocations: 442.8 kB / 395.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.09259, allocations: 172.7 kB / 395.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.09281, allocations: 187.3 kB / 396 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.09307, allocations: 199.2 kB / 396.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.09313, allocations: 47.94 kB / 396.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-05/0.09319, allocations: 44 kB / 396.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.09329, allocations: 95.73 kB / 396.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.09351, allocations: 219 kB / 396.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005409/0.09405, allocations: 0.4941 MB / 397.1 MB, free: 3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.09405, allocations: 0 / 397.1 MB, free: 3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09405, allocations: 0 / 397.1 MB, free: 3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.09406, allocations: 4 kB / 397.1 MB, free: 2.996 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.001166/0.09523, allocations: 0.6899 MB / 397.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.09528, allocations: 12.03 kB / 397.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.09539, allocations: 78.72 kB / 397.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.09549, allocations: 48.66 kB / 397.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.09583, allocations: 277.4 kB / 398.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.09587, allocations: 29.38 kB / 398.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.09595, allocations: 44.38 kB / 398.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007534/0.09671, allocations: 459.4 kB / 398.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.09673, allocations: 3.938 kB / 398.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.59e-05/0.09677, allocations: 20 kB / 398.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.09678, allocations: 8 kB / 398.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.09732, allocations: 283.9 kB / 399 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.09928, allocations: 1.299 MB / 400.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.09975, allocations: 210.7 kB / 400.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/0.1001, allocations: 180.7 kB / 400.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1002, allocations: 4 kB / 400.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1002, allocations: 38.56 kB / 400.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.1002, allocations: 0 / 400.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001407/0.1016, allocations: 0.5386 MB / 401.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.1017, allocations: 239.3 kB / 401.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1019, allocations: 214.9 kB / 401.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.102, allocations: 33.7 kB / 401.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.1021, allocations: 200.3 kB / 402 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.368e-05/0.1022, allocations: 107.1 kB / 402.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-05/0.1023, allocations: 57.7 kB / 402.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1025, allocations: 338.8 kB / 402.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.1026, allocations: 75.83 kB / 402.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.1029, allocations: 152.7 kB / 402.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009131/0.1038, allocations: 370.1 kB / 403 MB, free: 12.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1038, allocations: 0 / 403 MB, free: 12.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004774/0.1043, allocations: 281 kB / 403.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1043, allocations: 4 kB / 403.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1043, allocations: 0 / 403.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1043, allocations: 7.984 kB / 403.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.1046, allocations: 83.89 kB / 403.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1046, allocations: 0 / 403.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.1048, allocations: 39.7 kB / 403.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.1048, allocations: 12 kB / 403.5 MB, free: 12.24 MB / 334.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.0002862/0.1051, allocations: 161.8 kB / 403.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.1052, allocations: 27.8 kB / 403.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.707e-05/0.1052, allocations: 30.64 kB / 403.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1053, allocations: 4 kB / 403.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.1053, allocations: 4 kB / 403.7 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1053, allocations: 0 / 403.7 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.1064, allocations: 0.7711 MB / 404.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1064, allocations: 7.875 kB / 404.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.1066, allocations: 51.97 kB / 404.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002847/0.1069, allocations: 88.8 kB / 404.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.1069, allocations: 4 kB / 404.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.109, allocations: 1.981 MB / 406.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.109, allocations: 0 / 406.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007764/0.1098, allocations: 0.4944 MB / 407.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.1098, allocations: 101 kB / 407.2 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.1099, allocations: 16 kB / 407.2 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.11, allocations: 16.06 kB / 407.2 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.1101, allocations: 19.95 kB / 407.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1101, allocations: 15.94 kB / 407.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.1103, allocations: 152.3 kB / 407.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1103, allocations: 0 / 407.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004035/0.1107, allocations: 111.7 kB / 407.5 MB, free: 7.941 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.001117/0.1118, allocations: 1.035 MB / 408.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004153/0.1122, allocations: 199.8 kB / 408.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1122, allocations: 4.125 kB / 408.7 MB, free: 6.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.1126, allocations: 270.4 kB / 409 MB, free: 6.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.1129, allocations: 27.89 kB / 409 MB, free: 6.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.1165, allocations: 2.88 MB / 411.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.1169, allocations: 0.7831 MB / 412.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.581e-05/0.117, allocations: 29.92 kB / 412.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.1172, allocations: 103.4 kB / 412.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1172, allocations: 0 / 412.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.1505, allocations: 5.839 MB / 418.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.45, allocations: 15.98 kB / 418.7 MB, free: 12.54 MB / 350.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.9984e-05 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv","/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] "" Variables in the reference:time,L1.iinternal,L2.iinternal,L3.iinternal Variables in the result:time,C1.vinternal,C2.vinternal,L1.iinternal,L2.iinternal,L3.iinternal [Calling sys.exit(0), Time elapsed: 12.99815017200308]