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.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.001832/0.001832, allocations: 106 kB / 21.18 MB, free: 0.707 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.002111/0.002111, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.386/1.386, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.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: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 59.92 kB / 347.6 MB, free: 9.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2896, allocations: 49.16 MB / 396.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003577/0.2931, allocations: 2.798 MB / 399.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2946, allocations: 0.7662 MB / 400.4 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2947, allocations: 6.688 kB / 400.4 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.2949, allocations: 58.95 kB / 400.4 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.2951, allocations: 96.42 kB / 400.5 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.2956, allocations: 116.4 kB / 400.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000515/0.2961, allocations: 441.2 kB / 401.1 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.2965, allocations: 174.2 kB / 401.2 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.2968, allocations: 184.9 kB / 401.4 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.297, allocations: 197.8 kB / 401.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.626e-05/0.2971, allocations: 50.31 kB / 401.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.2972, allocations: 44.84 kB / 401.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.665e-05/0.2973, allocations: 97.3 kB / 401.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.2974, allocations: 217.4 kB / 402 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.298, allocations: 0.4925 MB / 402.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.298, allocations: 0 / 402.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.298, allocations: 0 / 402.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.298, allocations: 1.031 kB / 402.5 MB, free: 5.871 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.001015/0.299, allocations: 0.6219 MB / 403.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2991, allocations: 12.89 kB / 403.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.2992, allocations: 50.34 kB / 403.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.2995, allocations: 214.3 kB / 403.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.2995, allocations: 41.81 kB / 403.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.2996, allocations: 40.61 kB / 403.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.3004, allocations: 456.5 kB / 403.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.3004, allocations: 7.938 kB / 403.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.3005, allocations: 17.06 kB / 403.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.3005, allocations: 10 kB / 404 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005881/0.3011, allocations: 291.8 kB / 404.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.303, allocations: 1.237 MB / 405.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.3034, allocations: 213.2 kB / 405.7 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.3038, allocations: 173.5 kB / 405.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.3038, allocations: 6.328 kB / 405.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3039, allocations: 37.48 kB / 405.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.3039, allocations: 0.9062 kB / 405.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001296/0.3052, allocations: 480.4 kB / 406.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.3052, allocations: 237.1 kB / 406.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3054, allocations: 208.8 kB / 406.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3054, allocations: 35.97 kB / 406.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3055, allocations: 203.8 kB / 407 MB, free: 2.969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.3056, allocations: 103.9 kB / 407.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.3057, allocations: 59.19 kB / 407.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.3057, allocations: 336 kB / 407.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3059, allocations: 76.97 kB / 407.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.3061, allocations: 156.8 kB / 407.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008111/0.3069, allocations: 382.5 kB / 408.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3069, allocations: 1.375 kB / 408.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005757/0.3075, allocations: 278.5 kB / 408.4 MB, free: 2.086 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.3075, allocations: 5.5 kB / 408.4 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3075, allocations: 6.156 kB / 408.4 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.3075, allocations: 1.375 kB / 408.4 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.3079, allocations: 81.97 kB / 408.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3079, allocations: 2.969 kB / 408.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.3081, allocations: 35.39 kB / 408.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.3081, allocations: 12.31 kB / 408.5 MB, free: 2.047 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.0002527/0.3083, allocations: 149.4 kB / 408.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.3084, allocations: 28.81 kB / 408.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-05/0.3085, allocations: 34.02 kB / 408.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3085, allocations: 3.938 kB / 408.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.3085, allocations: 6.5 kB / 408.8 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3085, allocations: 5.266 kB / 408.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3095, allocations: 0.7373 MB / 409.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3095, allocations: 2.297 kB / 409.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.3098, allocations: 54.84 kB / 409.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002925/0.3101, allocations: 85.25 kB / 409.6 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.3101, allocations: 11.66 kB / 409.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.312, allocations: 1.875 MB / 411.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.312, allocations: 0 / 411.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008373/0.3128, allocations: 0.5045 MB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.3129, allocations: 25.56 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.3129, allocations: 12 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.3131, allocations: 11.66 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.3131, allocations: 23.69 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3131, allocations: 11.28 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.3133, allocations: 151.8 kB / 412.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3133, allocations: 0 / 412.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004006/0.3137, allocations: 112.8 kB / 412.4 MB, free: 15.29 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.0001456/0.3138, allocations: 102.2 kB / 412.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.3143, allocations: 191.7 kB / 412.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3143, allocations: 1.031 kB / 412.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.3148, allocations: 271.5 kB / 412.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.3151, allocations: 26.16 kB / 413 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.3166, allocations: 0.8546 MB / 413.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.3171, allocations: 0.7827 MB / 414.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.353e-05/0.3172, allocations: 27.19 kB / 414.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.3173, allocations: 20.56 kB / 414.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3173, allocations: 0 / 414.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of Templates: time 0.007942/0.3252, allocations: 3.15 MB / 417.8 MB, free: 12 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/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: 4.513962456956506]