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.0008438/0.0008438, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003994/0.003994, allocations: 164 kB / 24.7 MB, free: 9.414 MB / 18.57 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 0.8588/0.8588, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 4 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.585e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002284/0.0023, allocations: 2.525 MB / 301 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.003315, allocations: 0.7214 MB / 301.7 MB, free: 256 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.003424, allocations: 8 kB / 301.7 MB, free: 248 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.048e-05/0.003514, allocations: 59.36 kB / 301.7 MB, free: 188 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.003655, allocations: 103 kB / 301.8 MB, free: 84 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1123/0.116, allocations: 119.5 kB / 302 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.1165, allocations: 450.3 kB / 302.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.1167, allocations: 158.1 kB / 302.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.1169, allocations: 268 kB / 302.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1171, allocations: 146 kB / 303 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.157e-05/0.1171, allocations: 45.56 kB / 303 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.237e-05/0.1172, allocations: 45.47 kB / 303 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.1172, allocations: 99.98 kB / 303.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.497e-05/0.1173, allocations: 147.4 kB / 303.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.1177, allocations: 0.5084 MB / 303.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1177, allocations: 0.8125 kB / 303.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1177, allocations: 0 / 303.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1177, allocations: 1.906 kB / 303.8 MB, free: 12.58 MB / 282.7 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.000637/0.1184, allocations: 0.6144 MB / 304.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1184, allocations: 15.42 kB / 304.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.1185, allocations: 82.3 kB / 304.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.1185, allocations: 46.88 kB / 304.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.1187, allocations: 225.3 kB / 304.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.1187, allocations: 31.94 kB / 304.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.1188, allocations: 41.27 kB / 304.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.1192, allocations: 0.6227 MB / 305.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1192, allocations: 1.375 kB / 305.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.1193, allocations: 19.27 kB / 305.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.1193, allocations: 13.62 kB / 305.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.1196, allocations: 278.5 kB / 305.8 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.1207, allocations: 1.161 MB / 306.9 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.121, allocations: 221.2 kB / 307.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.1212, allocations: 176 kB / 307.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.1212, allocations: 7.797 kB / 307.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.1212, allocations: 34.84 kB / 307.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.222e-06/0.1212, allocations: 0 / 307.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007945/0.122, allocations: 471.1 kB / 307.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.1221, allocations: 237 kB / 308.1 MB, free: 10.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1222, allocations: 212.8 kB / 308.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1222, allocations: 36.58 kB / 308.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.1223, allocations: 200.3 kB / 308.5 MB, free: 9.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.1223, allocations: 105.1 kB / 308.6 MB, free: 9.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.1223, allocations: 63.23 kB / 308.7 MB, free: 9.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.628e-05/0.1224, allocations: 332.3 kB / 309 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.561e-05/0.1225, allocations: 81.97 kB / 309.1 MB, free: 9.484 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.1226, allocations: 338.5 kB / 309.4 MB, free: 9.152 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.1231, allocations: 374.8 kB / 309.8 MB, free: 8.992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1231, allocations: 1.094 kB / 309.8 MB, free: 8.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002799/0.1234, allocations: 270.2 kB / 310 MB, free: 8.875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1234, allocations: 5.469 kB / 310 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1234, allocations: 5.766 kB / 310 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1235, allocations: 2.406 kB / 310 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1236, allocations: 85.41 kB / 310.1 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1236, allocations: 2.25 kB / 310.1 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.605e-05/0.1237, allocations: 36.69 kB / 310.2 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.1237, allocations: 11.45 kB / 310.2 MB, free: 8.836 MB / 282.7 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.0001877/0.1239, allocations: 162.2 kB / 310.3 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.124, allocations: 24.83 kB / 310.4 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.124, allocations: 36.92 kB / 310.4 MB, free: 8.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.124, allocations: 6.281 kB / 310.4 MB, free: 8.656 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.124, allocations: 3.234 kB / 310.4 MB, free: 8.656 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.124, allocations: 0.8906 kB / 310.4 MB, free: 8.656 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006269/0.1246, allocations: 0.7036 MB / 311.1 MB, free: 8.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1246, allocations: 0 / 311.1 MB, free: 8.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.1248, allocations: 56.34 kB / 311.2 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001841/0.125, allocations: 85.86 kB / 311.2 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.125, allocations: 15.44 kB / 311.3 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.126, allocations: 1.845 MB / 313.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.126, allocations: 2.531 kB / 313.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.1265, allocations: 0.5016 MB / 313.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.1265, allocations: 29.53 kB / 313.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.1265, allocations: 7.031 kB / 313.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.1266, allocations: 11.34 kB / 313.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.1266, allocations: 26.56 kB / 313.7 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.1266, allocations: 6.031 kB / 313.7 MB, free: 6.297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.402e-05/0.1267, allocations: 154.4 kB / 313.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1267, allocations: 1.125 kB / 313.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.1269, allocations: 105 kB / 313.9 MB, free: 6.168 MB / 282.7 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.000536/0.1275, allocations: 1.047 MB / 315 MB, free: 5.344 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1277, allocations: 191.7 kB / 315.2 MB, free: 5.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1277, allocations: 1.375 kB / 315.2 MB, free: 5.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.128, allocations: 269.2 kB / 315.4 MB, free: 5.121 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1282, allocations: 31.25 kB / 315.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.1303, allocations: 2.768 MB / 318.2 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.1304, allocations: 184.2 kB / 318.4 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.822e-05/0.1305, allocations: 25.62 kB / 318.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.741e-05/0.1306, allocations: 107.5 kB / 318.5 MB, free: 3.035 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1306, allocations: 1.5 kB / 318.6 MB, free: 3.035 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.1497, allocations: 6.657 MB / 325.2 MB, free: 476 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.502, allocations: 9.391 kB / 325.2 MB, free: 468 kB / 282.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/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: 9.106662639416754]