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.001304/0.001304, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001416/0.001416, allocations: 190.7 kB / 24.49 MB, free: 3.941 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.379/1.379, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.001478/0.001478, allocations: 43.92 kB / 371.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2579, allocations: 52.19 MB / 423.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003867/0.2617, allocations: 2.583 MB / 425.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.263, allocations: 0.6855 MB / 426.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.2632, allocations: 8 kB / 426.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.2633, allocations: 63.41 kB / 426.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.2635, allocations: 91.06 kB / 426.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.2639, allocations: 131.8 kB / 426.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00047/0.2644, allocations: 446.9 kB / 427.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.2646, allocations: 161.4 kB / 427.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.2649, allocations: 195.3 kB / 427.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.2651, allocations: 207.1 kB / 427.9 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.706e-05/0.2652, allocations: 44 kB / 427.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.796e-05/0.2653, allocations: 48 kB / 428 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.2653, allocations: 99.67 kB / 428.1 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.2655, allocations: 175.2 kB / 428.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005062/0.266, allocations: 0.5003 MB / 428.8 MB, free: 8.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.266, allocations: 4 kB / 428.8 MB, free: 8.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.266, allocations: 0 / 428.8 MB, free: 8.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.266, allocations: 0 / 428.8 MB, free: 8.965 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.001016/0.2671, allocations: 0.6146 MB / 429.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2671, allocations: 16.03 kB / 429.4 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.077e-05/0.2671, allocations: 9.188 kB / 429.4 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.914e-05/0.2672, allocations: 82.7 kB / 429.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.907e-05/0.2673, allocations: 48.66 kB / 429.5 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.2676, allocations: 222.6 kB / 429.7 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.2676, allocations: 29.38 kB / 429.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/0.2677, allocations: 44.38 kB / 429.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008131/0.2685, allocations: 0.6241 MB / 430.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.2685, allocations: 0 / 430.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.2686, allocations: 16 kB / 430.5 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.2686, allocations: 16 kB / 430.5 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005146/0.2691, allocations: 279.9 kB / 430.7 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.2709, allocations: 1.166 MB / 431.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.2714, allocations: 227.7 kB / 432.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.2717, allocations: 172.7 kB / 432.3 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.2718, allocations: 8.5 kB / 432.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.2718, allocations: 38.56 kB / 432.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.903e-06/0.2718, allocations: 0 / 432.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001332/0.2731, allocations: 477.9 kB / 432.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.2733, allocations: 239.3 kB / 433 MB, free: 4.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.2734, allocations: 207 kB / 433.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.2735, allocations: 33.7 kB / 433.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.2736, allocations: 200.6 kB / 433.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/0.2737, allocations: 111.1 kB / 433.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-05/0.2738, allocations: 61.69 kB / 433.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2739, allocations: 330.8 kB / 434 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.2741, allocations: 83.7 kB / 434 MB, free: 3.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.2744, allocations: 341.1 kB / 434.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.2748, allocations: 200.2 kB / 434.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2748, allocations: 0 / 434.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004584/0.2752, allocations: 277.1 kB / 434.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2752, allocations: 8 kB / 434.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.2752, allocations: 0 / 434.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2753, allocations: 4.062 kB / 434.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.2756, allocations: 79.89 kB / 434.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2756, allocations: 4 kB / 434.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.2758, allocations: 35.77 kB / 435 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.2758, allocations: 8 kB / 435 MB, free: 2.305 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.0001649/0.2759, allocations: 153.7 kB / 435.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.276, allocations: 23.86 kB / 435.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.581e-05/0.2761, allocations: 34.64 kB / 435.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2761, allocations: 4 kB / 435.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.2761, allocations: 7.938 kB / 435.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2761, allocations: 4 kB / 435.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.2772, allocations: 0.7039 MB / 435.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.2772, allocations: 4 kB / 435.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.2774, allocations: 47.97 kB / 436 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003223/0.2777, allocations: 88.8 kB / 436 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.2778, allocations: 4 kB / 436.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.2798, allocations: 1.858 MB / 437.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2798, allocations: 0 / 437.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008056/0.2806, allocations: 0.4953 MB / 438.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.2807, allocations: 35.86 kB / 438.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.2807, allocations: 12.12 kB / 438.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.2809, allocations: 11.98 kB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.281, allocations: 31.83 kB / 438.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.281, allocations: 8 kB / 438.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.2811, allocations: 148.6 kB / 438.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2811, allocations: 3.938 kB / 438.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003981/0.2815, allocations: 107.7 kB / 438.8 MB, free: 14.32 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.001111/0.2826, allocations: 1.046 MB / 439.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004258/0.2831, allocations: 200 kB / 440 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2831, allocations: 0 / 440 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.2835, allocations: 266.4 kB / 440.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.2839, allocations: 35.09 kB / 440.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.2875, allocations: 2.884 MB / 443.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.2877, allocations: 176.8 kB / 443.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.2878, allocations: 29.94 kB / 443.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.288, allocations: 107.4 kB / 443.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.288, allocations: 0 / 443.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.32, allocations: 6.499 MB / 450 MB, free: 3.113 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.66, allocations: 7.984 kB / 450 MB, free: 3.105 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.181946084019728]