Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 214.7 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 67.89 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2762, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004378/0.2806, allocations: 2.864 MB / 434 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.2821, allocations: 0.7712 MB / 434.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.2823, allocations: 4 kB / 434.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.2824, allocations: 63.36 kB / 434.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.2827, allocations: 103 kB / 435 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.2831, allocations: 119.8 kB / 435.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005597/0.2836, allocations: 458.8 kB / 435.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.284, allocations: 165.4 kB / 435.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.2843, allocations: 187.4 kB / 435.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.2846, allocations: 199.2 kB / 436.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.2847, allocations: 48 kB / 436.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.2848, allocations: 59.92 kB / 436.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.75e-05/0.2849, allocations: 99.73 kB / 436.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.2851, allocations: 215 kB / 436.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000634/0.2857, allocations: 0.5101 MB / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2857, allocations: 0 / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2857, allocations: 4 kB / 437 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.2857, allocations: 0 / 437 MB, free: 0.8203 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.001191/0.2869, allocations: 0.6146 MB / 437.6 MB, free: 180 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.287, allocations: 12.03 kB / 437.6 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.949e-05/0.2871, allocations: 78.72 kB / 437.7 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.2873, allocations: 60.64 kB / 437.8 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.2877, allocations: 226.6 kB / 438 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.2877, allocations: 29.38 kB / 438 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/0.2878, allocations: 48.33 kB / 438.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.2886, allocations: 451.3 kB / 438.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.2886, allocations: 4 kB / 438.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.2886, allocations: 23.98 kB / 438.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.2886, allocations: 8 kB / 438.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.2892, allocations: 279.9 kB / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.2912, allocations: 1.267 MB / 440.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.2917, allocations: 229.3 kB / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/0.2921, allocations: 169.4 kB / 440.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.2921, allocations: 4 kB / 440.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.2921, allocations: 42.56 kB / 440.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.2922, allocations: 0 / 440.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001415/0.2936, allocations: 487.1 kB / 441 MB, free: 12.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/0.2937, allocations: 235.3 kB / 441.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.294, allocations: 210.8 kB / 441.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.294, allocations: 33.7 kB / 441.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.2942, allocations: 200.6 kB / 441.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.218e-05/0.2943, allocations: 107.1 kB / 441.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.2944, allocations: 69.67 kB / 441.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2945, allocations: 334.8 kB / 442.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.2947, allocations: 71.97 kB / 442.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.2949, allocations: 156.9 kB / 442.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.2953, allocations: 204.2 kB / 442.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2953, allocations: 0 / 442.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004976/0.2958, allocations: 273.1 kB / 442.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.2958, allocations: 8 kB / 442.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2958, allocations: 0 / 442.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.2958, allocations: 8 kB / 442.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.2962, allocations: 83.89 kB / 443 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.2962, allocations: 4 kB / 443 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.2964, allocations: 35.72 kB / 443 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.2964, allocations: 12 kB / 443 MB, free: 10.49 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.0001894/0.2966, allocations: 149.8 kB / 443.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.2966, allocations: 31.78 kB / 443.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.698e-05/0.2967, allocations: 30.64 kB / 443.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2967, allocations: 4 kB / 443.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.2967, allocations: 11.94 kB / 443.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2967, allocations: 0 / 443.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.2979, allocations: 0.7273 MB / 444 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2979, allocations: 0 / 444 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.2982, allocations: 55.91 kB / 444 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003339/0.2985, allocations: 88.84 kB / 444.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.2985, allocations: 7.984 kB / 444.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/0.3008, allocations: 1.869 MB / 446 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3008, allocations: 3.938 kB / 446 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008288/0.3017, allocations: 0.5014 MB / 446.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.3017, allocations: 27.86 kB / 446.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.3018, allocations: 11.98 kB / 446.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.3019, allocations: 8 kB / 446.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.302, allocations: 27.89 kB / 446.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.302, allocations: 7.938 kB / 446.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.3021, allocations: 156.6 kB / 446.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3021, allocations: 4 kB / 446.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004105/0.3026, allocations: 99.78 kB / 446.8 MB, free: 6.477 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.001218/0.3038, allocations: 1.044 MB / 447.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004592/0.3042, allocations: 203.7 kB / 448.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3042, allocations: 0 / 448.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.3047, allocations: 258.5 kB / 448.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.3052, allocations: 38.67 kB / 448.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.3092, allocations: 2.892 MB / 451.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.3097, allocations: 0.787 MB / 452 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.3098, allocations: 25.94 kB / 452 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.31, allocations: 103.4 kB / 452.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.31, allocations: 4 kB / 452.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04032/0.3503, allocations: 6.264 MB / 458.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.15, allocations: 256 / 458.4 MB, free: 10.8 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.653074207017198]