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.001616/0.001616, allocations: 112.1 kB / 21.19 MB, free: 0.7148 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.001571/0.001571, allocations: 212.7 kB / 24.49 MB, free: 4.066 MB / 14.72 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 1.423/1.423, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 55.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2627, allocations: 49.15 MB / 396.3 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003448/0.2662, allocations: 2.792 MB / 399.1 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2675, allocations: 0.7694 MB / 399.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.2676, allocations: 5.906 kB / 399.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.2678, allocations: 59 kB / 400 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.268, allocations: 92.94 kB / 400.1 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.2683, allocations: 124.4 kB / 400.2 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.2688, allocations: 438 kB / 400.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.2691, allocations: 178.2 kB / 400.8 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.2693, allocations: 184.8 kB / 401 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.2696, allocations: 197.7 kB / 401.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.265e-05/0.2696, allocations: 46.12 kB / 401.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.2697, allocations: 45.75 kB / 401.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.116e-05/0.2698, allocations: 99.3 kB / 401.3 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.27, allocations: 213.7 kB / 401.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005084/0.2705, allocations: 0.4961 MB / 402 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2705, allocations: 0 / 402 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2705, allocations: 1.062 kB / 402 MB, free: 5.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.2705, allocations: 4.703 kB / 402 MB, free: 5.559 MB / 318.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.0009388/0.2714, allocations: 0.6132 MB / 402.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2715, allocations: 12.58 kB / 402.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.145e-05/0.2715, allocations: 88.05 kB / 402.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.2716, allocations: 47.25 kB / 402.8 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.2719, allocations: 220.9 kB / 403 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.2719, allocations: 30.94 kB / 403.1 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.272, allocations: 44.42 kB / 403.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/0.2727, allocations: 458.7 kB / 403.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.2727, allocations: 5.062 kB / 403.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.2727, allocations: 16.75 kB / 403.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2727, allocations: 10.52 kB / 403.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.2732, allocations: 286.4 kB / 403.9 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.2748, allocations: 1.237 MB / 405.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.2753, allocations: 229.2 kB / 405.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.2756, allocations: 174.2 kB / 405.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.2756, allocations: 3.781 kB / 405.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.2756, allocations: 37.14 kB / 405.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.234e-06/0.2757, allocations: 4 kB / 405.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.0013/0.277, allocations: 476.1 kB / 406 MB, free: 3.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.277, allocations: 237 kB / 406.2 MB, free: 2.941 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.2772, allocations: 207.9 kB / 406.4 MB, free: 2.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2772, allocations: 33.16 kB / 406.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.665e-05/0.2773, allocations: 203.3 kB / 406.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.2773, allocations: 108 kB / 406.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.851e-05/0.2774, allocations: 59.86 kB / 406.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.2775, allocations: 331.1 kB / 407.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.2776, allocations: 81.23 kB / 407.2 MB, free: 2.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.2778, allocations: 153.1 kB / 407.4 MB, free: 2.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007816/0.2785, allocations: 382.1 kB / 407.7 MB, free: 1.844 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2785, allocations: 1.188 kB / 407.7 MB, free: 1.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000405/0.2789, allocations: 279.2 kB / 408 MB, free: 1.715 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.279, allocations: 5.906 kB / 408 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.279, allocations: 4 kB / 408 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.279, allocations: 6.625 kB / 408 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.2793, allocations: 83.56 kB / 408.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.2793, allocations: 1.25 kB / 408.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.2795, allocations: 32.33 kB / 408.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.2795, allocations: 11.53 kB / 408.2 MB, free: 1.676 MB / 318.1 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.000242/0.2797, allocations: 150.7 kB / 408.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.2798, allocations: 32.97 kB / 408.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.2799, allocations: 37.16 kB / 408.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2799, allocations: 2.75 kB / 408.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.2799, allocations: 2.75 kB / 408.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2799, allocations: 1.453 kB / 408.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009519/0.2808, allocations: 0.7383 MB / 409.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2808, allocations: 5.312 kB / 409.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.2811, allocations: 51.61 kB / 409.2 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000284/0.2814, allocations: 90.3 kB / 409.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.2814, allocations: 7.25 kB / 409.3 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.2832, allocations: 1.87 MB / 411.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2832, allocations: 1.219 kB / 411.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007926/0.284, allocations: 0.5033 MB / 411.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.284, allocations: 29.31 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.2841, allocations: 7.875 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.2843, allocations: 12.41 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.2843, allocations: 31.56 kB / 411.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.2843, allocations: 15 kB / 411.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.2845, allocations: 146.8 kB / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2845, allocations: 0 / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004032/0.2849, allocations: 110 kB / 412 MB, free: 14.92 MB / 334.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.001134/0.286, allocations: 1.03 MB / 413 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.2865, allocations: 203.9 kB / 413.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2865, allocations: 1.062 kB / 413.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004484/0.2869, allocations: 271.5 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.2872, allocations: 22.11 kB / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.2908, allocations: 2.877 MB / 416.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.2913, allocations: 0.7873 MB / 417.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.537e-05/0.2914, allocations: 18.61 kB / 417.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.2915, allocations: 109.1 kB / 417.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2915, allocations: 0 / 417.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03888/0.3304, allocations: 6.067 MB / 423.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.5, allocations: 13.33 kB / 423.4 MB, free: 7.676 MB / 334.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/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: 15.094681103946641]