Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 39.94 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2588, allocations: 52.19 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003905/0.2627, allocations: 2.848 MB / 426.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2642, allocations: 0.7283 MB / 427 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.2643, allocations: 8 kB / 427 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.2644, allocations: 63.42 kB / 427.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.2647, allocations: 91.06 kB / 427.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.265, allocations: 131.8 kB / 427.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.2655, allocations: 446.8 kB / 427.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.2659, allocations: 169.4 kB / 427.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.2661, allocations: 183.5 kB / 428.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.2664, allocations: 203.1 kB / 428.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.364e-05/0.2665, allocations: 44 kB / 428.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.978e-05/0.2665, allocations: 47.94 kB / 428.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.2666, allocations: 99.69 kB / 428.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.2668, allocations: 215 kB / 428.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00054/0.2674, allocations: 0.5027 MB / 429.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2674, allocations: 0 / 429.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2674, allocations: 0 / 429.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.2674, allocations: 0 / 429.2 MB, free: 8.848 MB / 334.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.00113/0.2685, allocations: 0.6263 MB / 429.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2685, allocations: 12.03 kB / 429.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.415e-05/0.2686, allocations: 9.188 kB / 429.8 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.362e-05/0.2687, allocations: 78.72 kB / 429.9 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.127e-05/0.2687, allocations: 48.66 kB / 429.9 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.269, allocations: 222.6 kB / 430.1 MB, free: 7.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.2691, allocations: 33.38 kB / 430.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.2691, allocations: 44.38 kB / 430.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.2698, allocations: 451.2 kB / 430.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.2699, allocations: 0 / 430.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.2699, allocations: 20 kB / 430.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2699, allocations: 12 kB / 430.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005345/0.2704, allocations: 287.9 kB / 431 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.2724, allocations: 1.255 MB / 432.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.2728, allocations: 219.9 kB / 432.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/0.2732, allocations: 176.7 kB / 432.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.2732, allocations: 8.438 kB / 432.6 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.2732, allocations: 42.5 kB / 432.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.2732, allocations: 0 / 432.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001383/0.2746, allocations: 481.9 kB / 433.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.2748, allocations: 239.3 kB / 433.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.275, allocations: 203 kB / 433.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.275, allocations: 33.7 kB / 433.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.2752, allocations: 208.6 kB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.707e-05/0.2752, allocations: 111.1 kB / 433.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.2753, allocations: 61.69 kB / 434 MB, free: 3.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2755, allocations: 334.8 kB / 434.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2757, allocations: 71.97 kB / 434.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.2759, allocations: 160.9 kB / 434.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.2763, allocations: 200.2 kB / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2763, allocations: 4 kB / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004872/0.2768, allocations: 277.2 kB / 435 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.2768, allocations: 8 kB / 435 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2768, allocations: 0 / 435 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2768, allocations: 4 kB / 435 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.2771, allocations: 79.89 kB / 435.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2771, allocations: 4 kB / 435.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.2773, allocations: 31.77 kB / 435.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.2774, allocations: 12 kB / 435.1 MB, free: 2.523 MB / 334.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.0001739/0.2775, allocations: 153.7 kB / 435.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.2776, allocations: 27.86 kB / 435.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.702e-05/0.2777, allocations: 30.64 kB / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2777, allocations: 4 kB / 435.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.2777, allocations: 4 kB / 435.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2777, allocations: 0 / 435.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.2788, allocations: 0.7351 MB / 436.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2788, allocations: 0 / 436.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.2791, allocations: 59.94 kB / 436.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003157/0.2794, allocations: 88.75 kB / 436.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.2794, allocations: 7.984 kB / 436.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.2815, allocations: 1.873 MB / 438.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2815, allocations: 0 / 438.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008162/0.2823, allocations: 0.4993 MB / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.2824, allocations: 27.86 kB / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.2824, allocations: 11.98 kB / 438.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.2826, allocations: 8.125 kB / 438.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.2826, allocations: 27.89 kB / 438.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.2827, allocations: 12 kB / 438.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.2828, allocations: 152.5 kB / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2828, allocations: 0 / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004014/0.2832, allocations: 107.7 kB / 438.9 MB, free: 14.5 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.00115/0.2843, allocations: 1.046 MB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004315/0.2848, allocations: 204 kB / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2848, allocations: 0 / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000452/0.2852, allocations: 266.7 kB / 440.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.2856, allocations: 39.53 kB / 440.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.2893, allocations: 2.891 MB / 443.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.2897, allocations: 0.7908 MB / 444.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.966e-05/0.2898, allocations: 21.95 kB / 444.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.29, allocations: 103.4 kB / 444.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.29, allocations: 0 / 444.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.3228, allocations: 6.297 MB / 450.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12, allocations: 6.641 kB / 450.6 MB, free: 2.828 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.518373869010247]