Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001384/0.001384, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001474/0.001474, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.1002, allocations: 53.34 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004333/0.1046, allocations: 2.846 MB / 429.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1062, allocations: 0.775 MB / 429.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/0.1065, allocations: 4 kB / 429.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.1066, allocations: 63.36 kB / 430 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.107, allocations: 103 kB / 430.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.1074, allocations: 123.8 kB / 430.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.108, allocations: 450.8 kB / 430.7 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.1083, allocations: 164.9 kB / 430.8 MB, free: 232 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.1086, allocations: 191.4 kB / 431 MB, free: 40 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1959/0.3045, allocations: 196 kB / 431.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.3047, allocations: 45.56 kB / 431.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.3049, allocations: 55.36 kB / 431.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.412e-05/0.3049, allocations: 96.98 kB / 431.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.3052, allocations: 219.4 kB / 431.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006016/0.3058, allocations: 0.5071 MB / 432.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3058, allocations: 0 / 432.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3058, allocations: 0 / 432.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.3058, allocations: 2.219 kB / 432.1 MB, free: 7.418 MB / 350.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.00103/0.3068, allocations: 0.6991 MB / 432.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3069, allocations: 9.656 kB / 432.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.29e-05/0.3069, allocations: 82.23 kB / 432.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.3072, allocations: 60.98 kB / 433 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.3074, allocations: 273.8 kB / 433.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.3075, allocations: 30.84 kB / 433.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/0.3075, allocations: 44.31 kB / 433.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006064/0.3081, allocations: 453.9 kB / 433.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.3081, allocations: 11.11 kB / 433.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.3082, allocations: 19.97 kB / 433.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.3082, allocations: 12.31 kB / 433.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.3087, allocations: 278.5 kB / 434.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.3103, allocations: 1.305 MB / 435.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.3107, allocations: 218.6 kB / 435.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.3111, allocations: 175.1 kB / 435.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.3111, allocations: 4.531 kB / 435.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.3112, allocations: 36.56 kB / 435.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.783e-06/0.3112, allocations: 0.5 kB / 435.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001412/0.3126, allocations: 0.5462 MB / 436.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.3126, allocations: 237.1 kB / 436.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.3128, allocations: 212.4 kB / 436.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.3128, allocations: 34.33 kB / 436.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3129, allocations: 204.9 kB / 437 MB, free: 5.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.313, allocations: 109.7 kB / 437.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.366e-05/0.3131, allocations: 62.62 kB / 437.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.3132, allocations: 335.6 kB / 437.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.3133, allocations: 78.34 kB / 437.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.3135, allocations: 149.1 kB / 437.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.3138, allocations: 202.3 kB / 437.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3139, allocations: 0 / 437.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000493/0.3143, allocations: 281.3 kB / 438.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3144, allocations: 5.125 kB / 438.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3144, allocations: 1.703 kB / 438.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3144, allocations: 7.5 kB / 438.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.3147, allocations: 76.11 kB / 438.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3147, allocations: 2.984 kB / 438.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.3149, allocations: 37.44 kB / 438.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.3149, allocations: 7.781 kB / 438.3 MB, free: 4.594 MB / 350.1 MB 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.0001252/0.3151, allocations: 153 kB / 438.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.3151, allocations: 29.75 kB / 438.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.359e-05/0.3152, allocations: 31.42 kB / 438.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3152, allocations: 7.984 kB / 438.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.3152, allocations: 3.562 kB / 438.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3152, allocations: 2.672 kB / 438.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.3163, allocations: 0.7613 MB / 439.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3163, allocations: 1.188 kB / 439.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.3165, allocations: 54.02 kB / 439.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003229/0.3168, allocations: 91.03 kB / 439.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.3169, allocations: 6.891 kB / 439.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.3185, allocations: 1.975 MB / 441.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3185, allocations: 3.188 kB / 441.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/0.3193, allocations: 0.4997 MB / 442 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.3193, allocations: 102.2 kB / 442.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.3193, allocations: 12.45 kB / 442.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3195, allocations: 10.16 kB / 442.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.3196, allocations: 23.05 kB / 442.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.3196, allocations: 9.266 kB / 442.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.3197, allocations: 152.3 kB / 442.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3197, allocations: 4 kB / 442.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004136/0.3201, allocations: 104.7 kB / 442.4 MB, free: 1.719 MB / 350.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.0009098/0.321, allocations: 1.042 MB / 443.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005345/0.3216, allocations: 201.5 kB / 443.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3216, allocations: 4.594 kB / 443.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.322, allocations: 262.8 kB / 443.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.3225, allocations: 42.38 kB / 443.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.3263, allocations: 2.91 MB / 446.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.3267, allocations: 0.7836 MB / 447.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.3268, allocations: 24.55 kB / 447.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.327, allocations: 103.3 kB / 447.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.327, allocations: 4 kB / 447.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03914/0.3661, allocations: 6.027 MB / 453.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.71, allocations: 15.95 kB / 453.8 MB, free: 13.02 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 13.243635245831683]